package com.travel.service;

import com.qianfeng.util.ResultMsg;
import com.travel.entity.TbHotel;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;

public interface HotelService {
    ResultMsg getAll();

    ResultMsg getAllByCityName(String cityName);

    ResultMsg getAllByHotelId(int hotelId);

    ResultMsg getAllByCnameHaddr(String cityName, String hotelAddr);

    ResultMsg adminInsertHotel(TbHotel hotel);

    ResultMsg adminUpdateHotel(TbHotel hotel);

    ResultMsg adminDeleteHotel(Integer hotelId);

    ResultMsg getAllPage(Integer current, Integer size);

    ResultMsg getOne(Integer hotelId);

    ResultMsg recommendHotel(Integer nums);

    ResultMsg uploadPic(MultipartFile pic);

    ResultMsg getHotelBetween(Integer min, Integer max);

}
